package com.ceo.auth.constants;



/**
 *
 * @author uto_dev_007
 * @since 2021-11-25
 */
public enum AucConstants {

    RESULT_CONSTANTS_SERVER_ERROR_AUTHENTICATION(401,"身份认证失败"),

    RESULT_CONSTANTS_SERVER_ERROR_AUTHORIZATION(403,"权限认证失败"),

    RESULT_CONSTANTS_SERVER_ERROR(500,"系统异常");

    private int code;

    private String text;

    AucConstants(int code, String text) {
        this.code = code;
        this.text = text;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
